*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
body{
    height: 100vh;
    background: url('../img/lunbo02.jpg') no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
main{
    /* border: 1px solid red; */
    background-color: rgba(0, 70, 128, 0.144);
    border-radius: 10px/10px;
    width: 80vw;
    /* 测试高度 最后给max-height */
    height: 95vh;
    display: grid;
    grid-template-rows: 1fr 6fr;
    grid-template-columns: 1fr;
    grid-gap: 5px;
    /* grid-template-areas: 
    'header header'
    'login signup'; */
}
main section{
    /* border: 1px solid red; */
    box-shadow: 1px 1px 5px 1px black
    ,1px 1px 5px 1px white;
    border-radius: 10px/10px;
    color: rgba(240, 248, 255, 0.815);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}
main .tips{
    /* height: max-content; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
main .tips>h1{
    margin: 5px;
    padding: 5px;
}
main .tips>h3>a::first-letter{
    font-size: 2rem;
    color: rgba(240, 248, 255, 0.815);
}
main .tips h3 a{
    display: block;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    color: black;
}
/* 通过JS操作-------- */
/* 通过JS操作-------- */
/* 通过JS操作-------- */
main .login{
    /* display: none; */
    grid-column: 1/3;
    grid-row: 1/2;
}
main .signup{
    display: none;
    /* visibility: hidden; */
    grid-column: 1/3;
    grid-row: 1/2;
}
main .loginForm{
    /* display: none; */
    
    grid-column: 1/2;
    grid-row: 2/3;
}
main .signupForm{
    display: none;
    grid-column: 1/2;
    grid-row: 2/3;
}
/* 通过JS操作-------- */
/* 通过JS操作-------- */
/* 通过JS操作-------- */
main .form{
    /* height: 100%; */
    font-size: 1.1rem;
    font-weight: bolder;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
main section.form  .imgBox{
    width: 80%;
    margin: 20px 0 5px 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
main .form .userImg{
    background: url('../img/myPhoto.png') no-repeat;
    padding: 5px;
    width: 80px;
    height: 80px;
    border-radius: 100px/100px;
}
main .form .userImg:active{
    border: 2px solid black;
}
main .form p{
    width: 50%;
    padding: 10px 0 0 20px;
    transition: 0.5s;
}
main .form p input{
    font-size: 1rem;
    margin-top: 5px;
    padding: 2px 0 0 15px;
    border: none;
    line-height: 30px;
    width: 100%;
    border-radius: 100px/100px;
    transition: 0.5s;
}
main .form p input[type='submit']{
    padding: 5px;
    width: 50%;
    font-size: 1rem;
    font-weight: bolder;
    transition: 0.5s;
}
main .form p input[type='submit']:hover{
    transform: scale(1.1);
    box-shadow: 1px 1px 10px 1px black
    ,1px 1px 1px 1px white;
}
/* main .form p>a{
    color: rgb(0, 0, 0);
    text-decoration: none;
} */
main .form #goLogin:hover{
    cursor: pointer;
    color: black;
    transform-origin: 0 0;
    transform: scale(1.1);
} 
main .form #goSignup:hover{
    cursor: pointer;
    color: black;
    transform-origin: 0 0;
    transform: scale(1.1);
}

@media (max-width: 450px){
    main .form p input[type='submit']{
        width: 100%;
        transition: 0.5s;
    }
    main .form p{
        width: 90%;
        transition: 0.5s;
    }
}